package com.twb.system.entity.twbSysconfig;

import java.io.Serializable;

import org.apache.ibatis.type.JdbcType;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twb.core.base.entity.BaseEntity;

/**
 * <p>
 * 系统配置
 * </p>
 *
 * @author DSY
 * @since 2018-10-24
 */
@TableName(value = "twb_sysconfig")
public class TwbSysconfig extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId(value="id",type=IdType.ASSIGN_UUID)
	private String id;

	/**
	 * 配置项
	 */
	@TableField(value="name",jdbcType = JdbcType.VARCHAR)
	private String name;

	/**
	 * 配置规则
	 */
	@TableField(value="sysrule",jdbcType = JdbcType.VARCHAR)
	private String sysrule;

	/**
	 * 配置描述
	 */
	@TableField(value="description",jdbcType = JdbcType.VARCHAR)
	private String description;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSysrule() {
		return sysrule;
	}

	public void setSysrule(String sysrule) {
		this.sysrule = sysrule;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "TwbSysconfig{" + "id=" + id + ", name=" + name + ", sysrule=" + sysrule + ", description=" + description
				+ ", creatorId=" + creatorId + ", creator=" + creator + ", updaterId=" + updaterId + ", updater="
				+ updater + ", createDate=" + createDate + ", updateDate=" + updateDate + ", isdel=" + isdel + "}";
	}
}
